#ifndef __TEACHER_H__
#define __TEACHER_H__
#include<stdbool.h>
#include"Student.h"//包含头文件
//结构体的嵌套
struct Teacher
{
    char Name[24];
    int age;
    int size;//学生数量
    Stu s[10];
};

typedef struct Teacher Teach;

void InitTeacher(Teach *t,const char * name,int age);
void PrintTeacher(Teach *t);
//插入学生信息
void InsertStu(Teach *t,const char *name,int id,int age,double score);
//按照下标删除数组元素
void RemoveByIndex(Teach *t,int index);
//删除学生信息
void RemoveStu(Teach *t,const char *name);
//找出第一个名字相同的学生，返回他的指针
Stu *FindFirstStu(Teach *t,void*value,bool(*p)(Stu*,void*));
#endif
